package com.samphanie.auiu.circle.config;

import com.samphanie.auiu.common.config.BaseCacheConfig;
import org.springframework.boot.autoconfigure.cache.CacheProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

/**
 * @Cacheable 触发将数据保存到缓存的操作
 * @CacheEvict 数据从缓存删除的操作
 * @CachePut 不影响方法执行 更新缓存
 * @Caching 组合以上多个操作
 * @CacheConfig 在类级别共享缓存的相同配置
 *
 * @author ZSY
 * @email 1451691457@qq.com
 */
@EnableCaching
@Configuration
@EnableConfigurationProperties(CacheProperties.class)
public class MyCacheConfig extends BaseCacheConfig {

}
